<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="profit/add">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('店铺')}:</label>
        <div class="col-xs-12 col-sm-2">

            <select  id="c-region" data-rule="required" class="form-control selectpicker" name="row[shop]">
                {foreach name="shopNoList" item="vo"}
                <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group">
        <label for="c-settlement" class="control-label col-xs-12 col-sm-2">结算单:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-settlement" data-rule="" class="form-control" size="50" name="row[settlement]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-settlement" class="btn btn-danger faupload" data-input-id="c-settlement" data-mimetype="*" data-multiple="false" data-preview-id="p-settlement"><i class="fa fa-upload"></i> 上传</button></span>
                    <span><button type="button" id="fachoose-settlement" class="btn btn-primary fachoose" data-input-id="c-settlement" data-mimetype="*" data-multiple="false"><i class="fa fa-list"></i> 选择</button></span>
                </div>
                <span class="msg-box n-right" for="c-settlement"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-settlement"></ul>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
